package com.lk.service;

import java.util.List;

import com.lk.dao.GoalDao;
import com.lk.entity.Goal;

public class GoalService {
	
	GoalDao dao = new GoalDao();
	
	public void save(Goal g){
		dao.save(g);
	}
	
	public List<Goal> findAll(String t_project_id,String t_employee_id){
		return dao.findAll(t_project_id, t_employee_id);
	}
	
	public Goal findById(String id){
		return dao.findById(id);
	}
}
